<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<include file="Public/header" />
</head>
<body>
<script type="text/javascript">
	var getMoveStoragelistUrl="{:U('Stock/get_movestoragelist')}";//获得移库记录地址
	<!-- using('../../../default/js/movestoragelist.js'); -->
    //搜索
    function historypicklistSearch(value,name){
        if(value==''){
            $.messager.alert('搜索提示','搜索内容不能为空!','error');
        }else{
            var searchName=$.trim($('#historypicklistsearchInput').searchbox('getName'));
            var searchValue=$.trim($('#historypicklistsearchInput').searchbox('getValue'));
			
            switch(searchName){
                case 'goods_no':
                    $('#movestoragelistDatagrid').datagrid({ queryParams:{goods_no:searchValue}});
                    break;
                case 'manual_id':
                    $('#movestoragelistDatagrid').datagrid({ queryParams:{manual_id:searchValue}});
                    break;
            }
        }
    }
</script>
<script type="text/javascript" src="__PUBLIC__/default/js/movestoragelist.js"></script>

	<table id="movestoragelistDatagrid" toolbar="#historypicklist_tb"></table>
    <!-- 搜索栏 -->
    <div id="historypicklist_tb">
        <form id="historypicklistSearchForm" method="post" novalidate>
             <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="movestoragelistObj.showAll()">全部</a>     
            <input id='historypicklistsearchInput' class="easyui-searchbox" data-options="height:30,menu:'#historypicklistSearchbox',searcher:historypicklistSearch"  style="width:300px"/>
            <div id="historypicklistSearchbox">
                <div data-options="name:'goods_no',iconCls:'icon icon-msn'">商品编号</div>
            </div>
        </form>
    </div>
    <!-- /搜索栏 -->
</body>